const bookModel = require('./data/model/bookModel')

bookModel.create([
    {
        name:"西游记",
        time:"2023-5-27 14:25:35",
        price:39.9,
        author:"吴承恩"
    },
    {
        name:"三国演义",
        time:"2023-5-27 14:25:51",
        price:49.9,
        author:"罗贯中"
    }
]).then(val=>{
    console.log('成功',val)
},rea=>{
    console.log('失败',rea);
})